Skip to content

Separate captures in DSLTree #206

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 20, 2022
Merged

Conversation

milseman
Copy link
Member

  • Renamed alternation to orderedChoice
  • Made a capture node and changed group to nonCapturingGroup
  • Changed groupTransform into just a transform function, which currently is only nested inside a capture

Open to suggestions. Another option with transforms, if they are only ever accessible directly inside a capture, is a captureTransform node. I weakly prefer consistency with matcher.

@milseman milseman requested a review from rxwei March 12, 2022 01:36
Rename Alternation to OrderedChoice, scrap groupTransform and capturing from group in favor of a capture node.
@milseman
Copy link
Member Author

@swift-ci please test

@milseman milseman merged commit 89e18aa into swiftlang:main Mar 20, 2022
@milseman milseman deleted the autobots_win branch March 20, 2022 12:57
rxwei pushed a commit to rxwei/swift-experimental-string-processing that referenced this pull request Mar 21, 2022
Rename Alternation to OrderedChoice, scrap groupTransform and capturing from group in favor of a capture node.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants